//
//  XMRealTipView.m
//  XunMi
//
//  Created by MacBook on 2024/3/18.
//  Copyright © 2024 TieZhu. All rights reserved.
//

#import "XMRealTipView.h"

@interface XMRealTipView ()
@property (weak, nonatomic) IBOutlet UIButton *btn1;
@property (weak, nonatomic) IBOutlet UIButton *btn2;
@property (weak, nonatomic) IBOutlet UIButton *btn3;
@property (weak, nonatomic) IBOutlet UIButton *btn4;
@end

@implementation XMRealTipView

- (void)awakeFromNib {
    [super awakeFromNib];
    [_btn1 setImagePosition:XMImagePositionTop spacing:5];
    [_btn2 setImagePosition:XMImagePositionTop spacing:5];

    [_btn3 setImagePosition:XMImagePositionTop spacing:5];

    [_btn4 setImagePosition:XMImagePositionTop spacing:5];

}

- (IBAction)closeAct:(UIButton *)sender {
    if (self.closeBlock) {
        self.closeBlock();
    }
}

- (IBAction)realAct:(UIButton *)sender {
    if (self.realBlock) {
        self.realBlock();
    }
}

@end
